#ifndef __HUD_H__
#define __HUD_H__

#include "cocos2d.h"
#include "ui/CocosGUI.h"

class Hud : public cocos2d::Layer {
public:
	bool init() override;
	CREATE_FUNC(Hud);

	int changeLifeBar(int delta);
	void changeScoreNum(int delta);

	void std::string getScoreNum();

private:
	cocos2d::ui::LoadingBar* lifeBar;
    cocos2d::LabelAtlas* scoreNum;
};

#endif
